Test Envy ^^^^^ **Definition:** * A test that is really testing some other class than the one it is supposed to. A common example of this is testing model validations in the controller when they should be tested in the model test **References:** .. admonition:: Quality attributes * :octicon:`file-code;1em` - Code Example * :octicon:`comment-discussion;1em` - Cause and Effect * :octicon:`graph;1em` - Frequency * :octicon:`sync;1em` - Refactoring * `Categorising Test Smells `_ :octicon:`graph;1em` * `Smells of Testing (signs your tests are bad) `_ :octicon:`sync;1em`